<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.tjsinfo.tjsoa.system.vo.User"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>粮油集团办公自动化协作平台</title>
    <meta http-equiv="x-ua-compatible" content="ie=7" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" id="txlz7"/>
	<style type="text/css">
			td {
				font:12px/170% "宋体", "新宋体", "黑体"; color:#000
			}
			th {
				font:12px/170% "宋体", "新宋体", "黑体"; color:#000
			}
	</style>
	<link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" id="txlz7"/>
	<link rel="stylesheet" type="text/css" href="<%=basePath%>ajaxFramework/ext-2.1/resources/css/ext-all.css" />
	
	<script type="text/javascript" src="<%=basePath%>ajaxFramework/ext-2.1/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=basePath%>ajaxFramework/ext-2.1/ext-all-debug.js"></script>
	<script type="text/javascript" src="<%=basePath%>ajaxFramework/ext-2.1/states.js"></script>
		
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/ext-all.js"></script>
	<script type="text/javascript" src="<%=basePath %>ajaxFramework/ext-2.1/source/locale/ext-lang-zh_CN.js"></script>
	
	<script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
	<%
		String moduleType = request.getParameter("moduleType");
	 %>
	<script type="text/javascript">
		function submitform1(){
			document.form1.submit();
		}
		
		function panduan(){
			var str = document.getElementById('lie').value;
			if(str == 'birthday'){
				document.getElementById('div1').style.display = 'none';
				document.getElementById('div2').style.display = 'block';
			}else{
				document.getElementById('div2').style.display = 'none';
				document.getElementById('div1').style.display = 'block';
			}
		}
		
		window.onload = function(){
			document.getElementById("right").style.height = document.body.clientHeight;
			document.getElementById("zongdiv").style.height = document.body.clientHeight-50;
			var tb = new Ext.Toolbar(
				{
					height:25
				}
			);
		
		    tb.render('menu');
			tb.addFill();
		    tb.addText('<img id="windowResize" src="<%=basePath%>images/m_icon05.gif;"><a style="font-weight:bold; color:black;line-height: 22px;">高级查询</a>&nbsp;&nbsp;&nbsp;');
		}
	</script>
  </head>
  
  <body>
  <div id="right" style="width: 100%;">
      <div id="menu" style="padding-top:4px;"></div>
      <div class="contact_content" id="zongdiv">
      <form action="<%=basePath %>tjsinfo/tjsoa/addresslist/selectHighAddressListUserName.do" name="form1" method="post">
      <input type="hidden" name="moduleType" id="moduleType" value="<%=moduleType %>">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td background="<%=basePath%>images/bghui.gif" width="99%" height="98">&nbsp;</td>
          </tr>
          <tr>
            <td align="center">
             <table width="352" border="0" cellpadding="0" cellspacing="0" >
               <tr>
                 <td background="<%=basePath%>images/small_01.gif" height="25" align="left" class="research">
                 <table width="99%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="8%"><img src="<%=basePath%>images/jing.gif" /></td>
                        <td width="92%"><b style="color: white">高级查询</b></td>
                      </tr>
                    </table>
                 </td>
               </tr>
               <tr>
                 <td background="<%=basePath%>images/small_02.gif" height="128" align="center">
                     <table width="65%" height="80%" border="0" cellspacing="0" cellpadding="0" class="researchtab">
                      <tr>
                        <td>请选择查询信息：</td>
                        <td>按&nbsp;<select name=lie id="lie" onchange="panduan()">
                        <option value="userName">姓名</option>
                        <option value="mobile">手机</option>
                        <option value="email">E-mail</option>
                        <option value="homeAddress">住宅地址</option>
                        <option value="homePhone">住宅电话</option>
                        <option value="homePostal">住宅邮编</option>
                        <option value="company">工作单位</option>
                        <option value="sector">部门</option>
                        <option value="duty">职务</option>
                        <option value="companyPhone">公司电话</option>
                        <option value="companyFax">公司传真</option>
                        <option value="companyAddress">公司地址</option>
                        <option value="companyPostal">公司邮编</option>
                        <option value="birthday">生日</option>
                        <option value="qq">QQ号</option>
                        <option value="msn">MSN帐号</option>
                        </select>                        
                        </td>
                      </tr>
                      <tr>
                        <td>请输入查询条件：</td>
                        <td><div id="div1"><input id="inputvalue" name="inputvalue" type="text" size="20" class="textinput"/></div>
                        <div id="div2" style="display: none">
        				<input name="birthday" id="birthday" type="text" class="Wdate" onclick="WdatePicker()"/>
                        </div>
                                                </td>
                      </tr>
                      <tr>
                        <td colspan="2" align="center"><a href="javaScript:submitform1();"><img src="<%=basePath%>images/chaxun.gif" /></a></td>
                       </tr>
                    </table>
                 </td>
               </tr>
               <tr>
                 <td background="<%=basePath%>images/small_03.gif" height="7">
               </tr>
             </table>
            </td>
          </tr>
      </table>
      </form>
      </div>
</div>
</body>
</html>
